angular.module("app").controller("passport.sent.Ctrl", ["$scope", "passport","$stateParams", function ($scope,passport,$stateParams) {
    $scope.searchData = {
        passportId: '',
        sentDate: '',
        addr: ''
    }
    passport.sentList({}, {status: 30}, function (data) {
        $scope.passportInfo = data.data.data
    })
    $scope.search = function () {
        passport.sentList({}, {
            status: 30,
            passportNo: $scope.searchData.passportId || null,
            signDate: $scope.searchData.sentDate || null,
            baseAddress: $scope.searchData.addr || null
        }, function (data) {
            $scope.passportInfo = data.data.data
        })
    }
}]);